package com.sumer.psychology.common.domain.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 个人描述
 *
 * Created by twer on 15/3/29.
 */
public class Profile implements Serializable {
    private String name;
    private Gender gender;
    private String genderString;
    private String phone;
    private String qq;
    private String email;

    public Profile(String name, Gender gender, String phone, String qq, String email) {
        this.name = name;
        this.gender = gender;
        this.phone = phone;
        this.qq = qq;
        this.email = email;
        if (gender != null) {
            genderString = gender.toString();
        }
    }

    public String name() {
        return name;
    }

    public Gender gender() {
        return gender;
    }

    public String phone() {
        return phone;
    }

    public String qq() {
        return qq;
    }

    public String email() {
        return email;
    }

    public String genderString() {
        return genderString;
    }
}
